#!/bin/sh

ENV_FILE=shell_env.sh
CUR_PATH=$(cd "$(dirname "$0")"; pwd)
. $CUR_PATH/$ENV_FILE
#protocol_array=('0200' '0f37' '0f38' '0f39')
#protocol_array=('0f37')
for i in ${PROTOCOLS[@]}
  do
      . $CUR_PATH/delete_hdfs_old_files.sh $i >> $BASE_LOG_PATH/$i/delete_hdfs_oldfiles_`date -d today +\%Y\%m\%d`.log 2>&1
  done
